package com.axend.aerosense.common.connect.bean;

import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.common.bean.RadarType;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class BleNotifyEntity extends BaseBean {

    private BleMsgTag tag;
    private RadarType radarType;
    private Object data;

    public BleNotifyEntity(BleMsgTag tag, RadarType radarType) {
        this(tag, radarType, null);
    }

    public BleNotifyEntity(BleMsgTag tag, Object data) {
        this(tag, null, data);
    }

    public BleNotifyEntity(BleMsgTag tag, RadarType radarType, Object data) {
        this.tag = tag;
        this.radarType = radarType;
        this.data = data;
    }
}
